package com.google.code.easyparking.metier;

import java.util.Date;

public class LogParking {
	public LogParking(Date dateHeureArrive, Date dateHeureDepart,
			IVehicule vehicule, IPlaceParking place) {
		this.dateHeureArrive = dateHeureArrive;
		this.dateHeureDepart = dateHeureDepart;
		this.vehicule = vehicule;
		this.place = place;
	}
	private Date dateHeureArrive;
	
	private Date dateHeureDepart;
	
	private IVehicule vehicule;
	
	private IPlaceParking place;
	
	public Date getDateHeureArrive() {
		return dateHeureArrive;
	}
	public Date getDateHeureDepart() {
		return dateHeureDepart;
	}
	public IVehicule getVehicule() {
		return vehicule;
	}
	public IPlaceParking getPlace() {
		return place;
	}
	@Override
	public String toString() {
		return "LogParking [dateHeureArrive=" + dateHeureArrive
				+ ", dateHeureDepart=" + dateHeureDepart + ", place=" + place
				+ ", vehicule=" + vehicule + "]";
	}
}
